﻿using PropertyManagment.entity;
using PropertyManagment.mapper;
using System.Collections.Generic;

namespace PropertyManagment.service.impl
{

    public class SysRoleServiceImpl : ServiceImpl<SysRoleMapper, SysRole>, SysRoleService {

        public SysRoleMapper sysRoleMapper { get; set; }

        public List<SysRole> getByUserId(long userId) {
            return sysRoleMapper.getByUserId(userId);
        }
    }
}
